package com.bbcare.followup.plat.dto.request;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class AppointmentRecordPageReqDTO {

    /**
     * 当前页
     */
    private Integer currentPage;

    /**
     * 分页大小
     */
    private Integer pageSize;

    /**
     * 患者名称
     */
    private String userName;

    /**
     * 联系方式
     */
    private String phone;

    /**
     * 预约类型(1:医生标记预约 2:患者自主预约)
     */
    private Integer appointType;

    /**
     * 预约状态（1：进行中，2：已完成，3：已过期，4：待确认）
     */
    private Integer status;

    /**
     * 预约日期开始
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date appointTimeStart;

    /**
     * 预约日期结束
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date appointTimeEnd;


    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getAppointType() {
        return appointType;
    }

    public void setAppointType(Integer appointType) {
        this.appointType = appointType;
    }

    public Date getAppointTimeStart() {
        return appointTimeStart;
    }

    public void setAppointTimeStart(Date appointTimeStart) {
        this.appointTimeStart = appointTimeStart;
    }

    public Date getAppointTimeEnd() {
        return appointTimeEnd;
    }

    public void setAppointTimeEnd(Date appointTimeEnd) {
        this.appointTimeEnd = appointTimeEnd;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
